/**
 * 
 */
package com.skood.security.dao;

import org.apache.ibatis.annotations.Param;

import com.skood.common.dao.CommonDAO;
import com.skood.security.domain.Role;

/**
 * @author keege
 * @date 2013-12-7
 */
public interface RoleDAO extends CommonDAO<Role>{
	public Role findRoleByName(String name);
	public void saveRoleResource(@Param("roleId")Long roleId,@Param("resourceIds")Long[] resourceIds);
}
